# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

XPIDL_SOURCES += [
    'xpctest_attributes.idl',
    'xpctest_bug809674.idl',
    'xpctest_interfaces.idl',
    'xpctest_params.idl',
    'xpctest_returncode.idl',
    'xpctest_utils.idl',
]

XPIDL_MODULE = 'xpctest'

# XXX: This relies on xpctest.xpt being created in dist/bin/components/ during
# the export tier AND TEST_HARNESS_FILES being processed after that.
TEST_HARNESS_FILES.xpcshell.js.xpconnect.tests.components.native.components += [
    '!/dist/bin/components/xpctest.xpt',
]
TEST_HARNESS_FILES.xpcshell.js.xpconnect.tests.components.js += [
    '!/dist/bin/components/xpctest.xpt',
]
